<?php
namespace app\shell;

use share\console\CLIRunner;
use share\service\SendEmailProxy;

class CEmailSend  extends CLIRunner{

    public function send_action(){
        SendEmailProxy::doSend([
            "host" => "email-smtp.ap-southeast-1.amazonaws.com",
            "username" => "AKIAS7YW72DBTXK3PMJQ",
            "password" => "BGCXc9NU4F6DOdXhgTA1/9cEw9Zo1FvMBkJwBf6f5YGs",
            "smtp_secure" => "ssl",
            "port" => "465",
            "charset" => "UTF-8",
            "from_name" => "p2p-support",
            "from" => "p2p-support@aismart-platform.com",
            "subject" => "test",
            "body" => "123456",
        ],"375562657@qq.com");
    }
}